package com.fowo.api.syncAmazon.mapper;

import com.fowo.api.syncAmazon.entity.ApiRequestLog;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fowo.api.syncAmazon.model.ApiMonitoringInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author Administrator
* @description 针对表【amazon_data_sync_log】的数据库操作Mapper
* @createDate 2024-01-31 09:04:24
* @Entity com.fowo.api.syncAmazon.entity.AmazonDataSyncLog
*/
@Mapper
public interface ApiRequestLogMapper extends BaseMapper<ApiRequestLog> {
    /**
     * 获取24小时内数据拉取的API统计数据， 成功次数、数据量、耗时、最新的拉取时间段 ，失败次数
     */
    List<ApiMonitoringInfo> getApiMonitoringInfo();

    List<String> getApiCodeOfNotRun();
}




